EventEspresso\CalendarPlus\migrations\MigrationsManager B

Total Complexity 95
Dependencies 7
Dependents 1
Total lines 606
Lines of code 452
Logical lines of code 243
Comment lines 24
Methods 30
Properties 10

Methods 30

Method Rating Maintainability Complexity Lines of code
continueMigration()
A
45 12 41
refreshJobProgress()
A
50 9 30
loadMigrationJobsForDatabaseVersion()
A
50 9 28
initialize()
S
55 6 21
processAjaxResponse()
S
46 5 36
loadMigrationJob()
S
52 5 23
runMigrations()
S
56 5 18
migrateRecord()
S
56 4 19
getNextMigrationToRun()
S
59 4 14
checkIfMigrationsCompleted()
S
55 3 19
getMigration()
S
58 3 17
loadAllMigrationJobs()
S
58 2 16
recordMigrationError()
S
59 2 16
canRunMigrations()
S
75 3 4
runJob()
S
65 3 10
getProgress()
S
64 3 10
resetMigrations()
S
65 3 9
recordNotMigrated()
S
60 1 16
markProgress()
S
67 2 6
markProgressForRecordNotFound()
S
62 1 14
markProgressForRecordNotMigrated()
S
62 1 14
markProgressForRecordMigrated()
S
62 1 14
initializeMigration()
S
62 1 13
invalidResponse()
S
63 1 12
__construct()
S
76 1 4
currentJobID()
S
82 1 3
recordNotFound()
S
73 1 5
recordMigrated()
S
73 1 5
jobCompleted()
S
66 1 8
markProgressForJobCompleted()
S
69 1 7